package com.wzk.travelspringboot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzk.travelspringboot.entity.ScenicCommentLike;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/13 20:32
 */
public interface ScenicCommentLikeDAO extends BaseMapper<ScenicCommentLike> {

    ScenicCommentLike queryCurrUserIsLiked(@Param("commentId") long commentId,@Param("userId") long userId);

    int removeLiked(@Param("commentId") long commentId,@Param("userId") long userId);

}
